package com.qimo.service;

import com.qimo.model.Book;
import com.qimo.model.CreateItem;
import com.qimo.model.Shop;
import com.qimo.model.ShopOrder;

import java.util.List;

public interface ShopService {
 Shop Shop(int shopId);
 int shopApplication(int userId,String shopName);
 List<ShopOrder> shopOrderSelect(int userId,int Page,int limit);
 Shop checkHaveShop(int userId);
 int shopOrderSelectCount(int userId);
 int fahuo(int userId);
 int selectBookCount();
 List<Book> selectBook(int page, int limit);
 int create_book_item(int userId, int itemId,  List<Book> book,int shopId);
 int createItem(CreateItem createItem);
}
